package hcn.protocol.ods.inpatient;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * Created by yanglj on 2019/1/5.
 */
@XmlRootElement(name = "Response")
public class InpatientResponseBean<T> {
    private String resultMessage;
    private String ResultCode;
    private List<T> result;

    @XmlElement(name = "resultMessage")
    public String getResultMessage() {
        return resultMessage;
    }

    public void setResultMessage(String resultMessage) {
        this.resultMessage = resultMessage;
    }

    @XmlElement(name = "ResultCode")
    public String getResultCode() {
        return ResultCode;
    }

    public void setResultCode(String resultCode) {
        ResultCode = resultCode;
    }

    @XmlElement(name = "result")
    public List<T> getResult() {
        return result;
    }

    public void setResult(List<T> result) {
        this.result = result;
    }

}
